﻿package com.cipri.battle.events 
{
    import flash.events.Event;
    
    public class ShapeEvent extends Event 
    {
        public static const ROTATE:String = "rotated";
        public static const DROP:String = "dropped";
        public static const HIT:String = "hit";
        
        public function ShapeEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
        { 
            super(type, bubbles, cancelable);
        } 
        
        public override function clone():Event 
        { 
            return new ShapeEvent(type, bubbles, cancelable);
        } 
        
        public override function toString():String 
        { 
            return formatToString("ShapeEvent", "type", "bubbles", "cancelable", "eventPhase"); 
        }
        
    }
    
}